﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpResultS.aspx.cs" Inherits="CURE.Experiment.ExpResultS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>实验申请</title>
    <script type="text/javascript">
        $(document).ready(function () {
            var state = '<%=State%>';
            if (state == "-1") {
                document.getElementById("failreason").style.display = "block";
            }
        });

        function catechange(obj) {
            var selectcate = document.getElementById("cate").value;
            document.getElementById("badcate").value = selectcate;
        }

       // $("#file_upload").uploadify({
       //     'uploader': '/script/uploadify/scripts/uploadify.swf',
       //     'script': '/handler/FileUploadHandler.ashx?id',
       //     'cancelImg': '/Script/uploadify/scripts/cancel.png',
       //     'folder': '/',
       //     'sizelimit': 10240 * 10240 * 5,
       //     'multi': true,
       //     'auto': false,/*如果是自动上传,那上传按钮将没用了*/
       //     'queueid': 'filequeue',
       //     'wmode': 'opaque',
       //     'onSelect': function (event, id, fileobj) {
       //         //$("#displaymsg").html("上传中......");
       //     },
       //     'onComplete': function (event, queueid, fileobj, response, data) {


       //         // $("#div_show_files").attr("src", response);

       //     }
       //});

       // function StartUpload() {
       //     $('#file_upload').uploadifyUpload();
       // }
            
        



    </script>
    <style type="text/css">
        #judgename {
            width: 138px;
        }
        #startbt {
            width: 26px;
        }
        #endbt {
            width: 24px;
        }
    </style>
</head>
<body>
    <div class="pageContent">
        <form id="form1" enctype="multipart/form-data" runat="server" method="post" action="Handler/ExpHandler.ashx" class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone)">
        <input type="hidden" name="id" value="<%=Mid %>" /> 
        <input type="hidden" name="fid" value="<%=Fid %>" />
        <input type="hidden" name="action" value="<%=Action %>" />
        <input type="hidden" name="badcate" id="badcate" value="<%=Cate %>" />
        <input type="hidden" name="page" value="<%=Page1 %>" />
        <div class="pageFormContent" layouth="56">
            <table class="table" layout="83" width="100%">
              <tr>
                <td>记录编号：</td>
                <td colspan="2"><%=Ledgerid %></td>
                <td>F卡号：</td>
                <td colspan="2"><%=Fid %></td>
              </tr>
              <tr>
                <td>判定名称：</td>
                <td><%=Judgename %></td>
                <td>型号：</td>
                <td><%=Typeno %></td>
                <td>机台别：</td>
                <td><%=Mcno %></td>
              </tr>
              <tr>
                <td>F卡BT号：</td>
                <td>第<%=Startbt %>BT至第<%=Endbt %>BT</td>
                <td>发生数量：</td>
                <td><%=Num %></td>
                <td>F卡生产时间：</td>
                <td><%=Fdate %></td>
              </tr>
              <tr>
                <td>橡胶外观目视描述：</td>
                <td><%=Desc %></td>
                <td colspan="2">材料放置点(注:精炼橡胶判定时必须填写)：</td>
                <td colspan="2" ><%=Rubberput %></td>
              </tr>
              <tr>
                <td>内容：</td>
                <td colspan="5"><%=Cont %></td>
              </tr>
              <tr>
                <td>精炼不良类别</td>
                <td>
                    <%=CURE.Common.StringTool.BLCate(Cate) %>
                 <%#Eval("LEDGERID")%>
                </td>
              </tr>
              <tr>
                <td rowspan="5">生产有无异常</td>
                <td colspan="2">情报信息</td> 
                <td>有/无</td>
                <td colspan="2">异常内容</td>  
              </tr>
              <tr>
                <td colspan="2">设备有无报警异常</td>
                <td><%=Deviceabnormal %></td>
                <td colspan="2"><%=Devicecontent %></td>
              </tr>
              <tr>
                <td colspan="2">来自技能员异常情报</td>
                <td><%=Skillabnormal %></td>
                <td colspan="2"><%=Skillcontent %></td>
              </tr>
              <tr>
                 <td colspan="2">LOT Report有无异常</td>
                 <td><%=Lotabnormal %></td>
                 <td colspan="2"><%=Lotcontent %></td>
              </tr>
              <tr>
                 <td colspan="2">作业录像有无异常</td>
                 <td><%=Workabnormal %></td>
                 <td colspan="2"><%=Workcontent %></td>
              </tr>
              <tr>
                 <td>具体原因说明</td>
                 <td colspan="5"><%=Reason %></td>
              </tr>

                    <tr>
                        <td rowspan="6">
                            遏制范围表</td>
                        <td>
                            项目</td>
                        <td>
                            橡胶</td>
                        <td>
                            部材</td>
                        <td>
                            生胎</td>
                        <td>
                            制品</td>
                    </tr>
                    <tr>
                        <td>
                            型号</td>
                        <td>
                            <%=Rubberno %></td>
                        <td>
                            <%=Elementno %></td>
                        <td>
                            <%=Tireno %></td>
                        <td>
                            <%=Prono %></td>
                    </tr>
                    <tr>
                        <td>
                            批次</td>
                        <td>
                            <%=Rubberlotno %></td>
                        <td>
                            <%=Elementlotno %></td>
                        <td>
                            <%=Tirelotno %></td>
                        <td>
                            <%=Prolotno %></td>
                    </tr>
                    <tr>
                        <td>
                            应保留数量</td>
                        <td>
                            <%=Rubbernum %></td>
                        <td>
                            <%=Elementnum %></td>
                        <td>
                            <%=Tirenum %></td>
                        <td>
                            <%=Pronum %></td>
                    </tr>
                    <tr>
                        <td>
                            实际保留数量</td>
                        <td>
                            <%=Rubberrealnum %></td>
                        <td>
                            <%=Elementrealnum %></td>
                        <td>
                            <%=Tirerealnum %></td>
                        <td>
                            <%=Prorealnum %></td>
                    </tr>
                    <tr>
                        <td>
                            备注</td>
                        <td colspan="4">
                            <%=Remarks %></td>
                    </tr>
                  <%-- <tr>
                       <td colspan="6">实验结果</td>
                   </tr>--%>
<%--                <tr>
                    <td>不良类别</td>
                    <td colspan="3">硫变仪</td>
                    <td colspan="3">比重</td>
                </tr>
                <tr>
                    <td  rowspan="2">B,C,D,F,H,I,J,K</td>
                    <td>规格值</td>
                    <td>实测</td>
                    <td>判定</td>
                    <td>规格值</td>
                    <td>实测</td>
                    <td>判定</td>
                </tr>
                <tr>
                    <td><input type="text" name="sulspec" class="icm_txt" id="sulspec"  value="<%=Sulspec %>" style="width:100%;" /></td>
                    <td><input type="text" name="sulactual" class="icm_txt" id="sulactual"  value="<%=Sulactual %>" style="width:100%;" /></td>
                    <td><input type="text" name="suljudge" class="icm_txt" id="suljudge"  value="<%=Suljudge %>" style="width:100%;" /></td>
                    <td><input type="text" name="wspec" class="icm_txt" id="wspec"  value="<%=Weightspec %>" style="width:100%;" /></td>
                    <td><input type="text" name="wactual" class="icm_txt" id="wactual"  value="<%=Weightactual %>" style="width:100%;" /></td>
                    <td><input type="text" name="wjudge" class="icm_txt" id="wjudge"  value="<%=Weightjudge %>" style="width:100%;" /></td>
                </tr>
                <tr>
                    <td>不良类别</td>
                    <td colspan="5">RPA</td>
                </tr>
                <tr>
                    <td rowspan="2">A,B,C,D,H,I</td>
                    <td>G'规格</td>
                    <td>实测</td>
                    <td>判定</td>
                    <td>TS2.0规格</td>
                    <td>实测</td>
                    <td>判定</td>
                </tr>
                <tr>
                    <td><input type="text" name="gspec" class="icm_txt" id="gspec"  value="<%=Rpagspec %>" style="width:100%;" /></td>
                    <td><input type="text" name="gactual" class="icm_txt" id="gactual"  value="<%=Rpaactual %>" style="width:100%;" /></td>
                    <td><input type="text" name="gjudge" class="icm_txt" id="gjudge"  value="<%=Rpajudge %>" style="width:100%;" /></td>
                    <td><input type="text" name="tsspec" class="icm_txt" id="tsspec"  value="<%=Rpatsspec %>" style="width:100%;" /></td>
                    <td><input type="text" name="tsactual" class="icm_txt" id="tsactual"  value="<%=Rpatsactual %>" style="width:100%;" /></td>
                    <td><input type="text" name="tsjudge" class="icm_txt" id="tsjudge"  value="<%=Rpatsjudge %>" style="width:100%;" /></td>
                </tr>
                <tr>
                    <td>不良类别</td>
                    <td colspan="5">BP</td>
                </tr>
                <tr>
                    <td rowspan="2">H,J</td>
                    <td>规格值</td>
                    <td>实测</td>
                    <td>判定</td>
                </tr>
                <tr>
                    <td><input type="text" name="bpspec" class="icm_txt" id="bpspec"  value="<%=Bpspec %>" style="width:100%;" /></td>
                    <td><input type="text" name="bpactual" class="icm_txt" id="bpactual"  value="<%=Bpactual %>" style="width:100%;" /></td>
                    <td><input type="text" name="bpjudge" class="icm_txt" id="bpjudge"  value="<%=Bpjudge %>" style="width:100%;" /></td>
                </tr>
                <tr>
                    <td>备注</td>
                    <td colspan="5"><input type="text" name="resultremark" class="icm_txt" id="resultremark"  value="<%=Resultremarks %>" style="width:100%;" /></td>
                </tr>
                
                <tr id="failreason" style="display:none;color:red;">
                    <td>未通过审核原因</td>
                    <td colspan="5"><%=Approvalreason %></td>
                </tr>--%>
                
            </table>
           <%--<div>
               <input type="file" name="file_upload" id="file_upload" />
               <input type="button" onclick="StartUpload()" value="上传" />
           </div>--%>
            <%--<p>
                <label>
                    原因：</label>
                <input type="text" name="txtReason" size="30" id="txtreason"  
                    value="<%=Reason %>" />
            </p>--%>
        </div>
                
<%--        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                提交</button></div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="reset" class="close">
                                取消</button></div>
                    </div>
                </li>
            </ul>
        </div>--%>
        </form>
    </div>
</body>
</html>
